﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IProjectRepository.cs" company="">
//   Copyright (c) 2010/2011 All Right Reserved
// </copyright>
// <summary>
//   Contains IProjectRepository class declaration.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace iBuproModel.Repositories.Interfaces
{
    using System.Collections.Generic;

    /// <summary>
    /// Interface for project repository.
    /// </summary>
    public interface IProjectRepository : IGenericRepository<Project>
    {
        IEnumerable<Project> GetProjectsForSubject(int id);
        IEnumerable<Project> GetProjectsForUser(string username);
        IEnumerable<Project> GetProjectsForUser(User user);
    }
}